package com.examsys.dao;

import java.util.List;

import com.examsys.po.QuestionOptions;
/**
 * 试题选项数据访问层接口
 * @author edu-1
 *
 */
public interface QuestionOptionsDao{
	// 通过试题编号删除试题选项信息
	public void deleteByQuestionId(Integer question_id) throws Exception;

	public void add(QuestionOptions obj) throws Exception;
	
	public void update(QuestionOptions obj) throws Exception;

	public void delete(Integer id) throws Exception;
	
	public QuestionOptions get(Integer id) throws Exception;
	
	public List<QuestionOptions> getList1() throws Exception;
	 
	public List<QuestionOptions> getList2(QuestionOptions obj) throws Exception;
}
